import React from "react";
import { CompWithProps } from "@/components/CompWithProps";
import { CompPropsInterface } from "@/components/CompWithProps";
import CompSlot from "@/components/CompWithProps/CompSlot";

let compProps: CompPropsInterface = {
  num: 1,
  child1Prop: {
    msg1: "child props from feature",
  },
};

const feature1: React.FC = () => {
  return (
    <>
      <CompWithProps num={compProps.num} child1Prop={compProps.child1Prop}>
        <CompSlot></CompSlot>
      </CompWithProps>
    </>
  );
};

export default feature1;
